@layout("/common/head.html"){
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-body ">
                    <form class="layui-form layui-col-space5">
                        <div class="layui-inline layui-show-xs-block">
                            <input class="layui-input"  autocomplete="off" placeholder="角色名称" name="name" id="name">
                        </div>
                        <div class="layui-inline layui-show-xs-block">
                            <input class="layui-input"  autocomplete="off" placeholder="角色标识" name="keyword" id="keyword">
                        </div>
                        <div class="layui-inline layui-show-xs-block">
                            <button class="layui-btn"  lay-submit="" lay-filter="sreach"><i class="layui-icon">&#xe615;</i></button>
                        </div>
                    </form>
                </div>
                <div class="layui-card-header" id="toolBar">
                    <button class="layui-btn layui-btn" id="add">
                        <i class="layui-icon">&#xe654;</i>新增
                    </button>
                    <button class="layui-btn layui-btn" id="edit">
                        <i class="layui-icon">&#xe642;</i>修改
                    </button>
                    <button class="layui-btn layui-btn-danger" id="del">
                        <i class="layui-icon">&#xe640;</i>删除
                    </button>
                    <button class="layui-btn layui-btn-normal" id="setMenus">
                        <i class="layui-icon">&#xe716;</i>配置权限
                    </button>
                </div>
                <table class="layui-hide" id="tb" lay-filter="tb"></table>
            </div>
        </div>
    </div>
</div>
<script type="text/html" id="menuStatus">
    {{#  if(d.status === '1'){ }}
    可用
    {{#  } else { }}
    禁用
    {{#  } }}
</script>
<script src="${ctxPath}/static/modules/sys/role/index.js"></script>
@}